package groupon.contents.bo.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import groupon.contents.bo.service.ContentService;
import groupon.contents.dao.ContentDao;
import groupon.contents.model.Content;

@Service(value = "contentService")
@Transactional(readOnly = true, propagation = Propagation.SUPPORTS)
public class ContentServiceImpl implements ContentService {

	@Resource(name = "contentDao")
	private ContentDao contentDao;
	
	@Transactional
	public void save(Content content) {
		contentDao.save(content);
	}

}
